SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52087: SAS® Data Integration Studio jobs fail with errors due to metadata server connectivity issues

DetailsHotfixAboutRate It

SAS statements like LIBNAME and PROC METALIB or DATA Step statements that require connecting back to the metadata server might fail with the following errors at execution time:

  • ERROR: Libname LIBREF is not assigned.
    ERROR: Error in the LIBNAME statement.
    ERROR 52-121: Invalid credentials
    ERROR: Access denied.
    
  • ERROR: DBMS connection error: invalid username/password; logon denied. 
    ERROR: Error in the LIBNAME statement.
    
  • NOTE: Connecting to SAS Metadata Server produced: ERROR: Invalid credentials
    NOTE: SAS application server not found; the local machine will be used.
    
  • NOTE: Connecting to SAS Metadata Server produced: 
    ERROR: Cannot locate the metadata for SAS Application Server "AppServer"
    

These errors occur when the following conditions are true:

  • The SAS Data Integration Studio job contains code that sets the SAS system option METASERVER.
  • The value specified on the METASERVER system option does not match the metadata server information that was established during trusted peer initialization.

The METASERVER system option is not required and should not be present in job code, but it is generated in the code when the SAS Data Integration Studio job option, Enable optional metadata macro variables, is set to Yes. In prior releases of SAS Data Integration Studio, it was necessary to set the METASERVER system option (along with METAPORT). However, trusted peer connectivity has removed that need.

The workaround for this issue is to select No for the Enable optional metadata macro variables job option in order to prevent the METASERVER system option from being set. Perform the following steps to modify the job option setting:

  1. Open properties on the job.
  2. Click the Options tab.
  3. Select No for the option Enable optional metadata macro variables.
  4. Click OK to save the change.
image label

The setting of the METASERVER and METAPORT system options will be removed from code generation in a future release of the product.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Integration StudioMicrosoft Windows Server 2003 Standard Edition4.39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition4.39.3 TS1M0
Microsoft Windows Server 2003 for x644.39.3 TS1M0
Microsoft Windows Server 20084.34.9029.3 TS1M09.4 TS1M4
Microsoft Windows Server 2008 R24.34.9029.3 TS1M09.4 TS1M4
Microsoft Windows Server 2008 for x644.34.9029.3 TS1M09.4 TS1M4
Microsoft Windows XP Professional4.39.3 TS1M0
Windows 7 Enterprise 32 bit4.34.9029.3 TS1M09.4 TS1M4
Windows 7 Enterprise x644.34.9029.3 TS1M09.4 TS1M4
Windows 7 Home Premium 32 bit4.34.9029.3 TS1M09.4 TS1M4
Windows 7 Home Premium x644.34.9029.3 TS1M09.4 TS1M4
Windows 7 Professional 32 bit4.34.9029.3 TS1M09.4 TS1M4
Windows 7 Professional x644.34.9029.3 TS1M09.4 TS1M4
Windows 7 Ultimate 32 bit4.34.9029.3 TS1M09.4 TS1M4
Windows 7 Ultimate x644.34.9029.3 TS1M09.4 TS1M4
Windows Vista4.39.3 TS1M0
Windows Vista for x644.39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.39.3 TS1M0
Microsoft® Windows® for x644.34.9029.3 TS1M09.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.